#ifndef __UiMgr_H__
#define __UiMgr_H__
#include "cocos2d.h"
#include "MoveButton.h"
#include "AttackButton.h"
#include "PropertyUi.h"
#include "SkillButton.h"

USING_NS_CC;
using namespace std;
class CUiMgr : public Node
{
public:
	static CUiMgr* getInstance();
	~CUiMgr();
	virtual bool init();
	void initPropertyUi();

	CREATE_FUNC(CUiMgr);
	CC_SYNTHESIZE_READONLY(CMoveButton*, m_pMoveButton, MoveButton);
	CC_SYNTHESIZE_READONLY(CAttackButton*, m_pAttackButton, AttackButton);
	CC_SYNTHESIZE_READONLY(CProperty*, m_pProperty, Property);
	CC_SYNTHESIZE_READONLY(CSkillButton*, m_pSkillButton, SkillButton);
private:
	CUiMgr();
private:
	static CUiMgr* _Instance;
};


#endif